-
Notifications
You must be signed in to change notification settings - Fork 4.8k
HIVE-29178: Add Catalog properties support #6123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
why that many thrift gen changes? |
@deniskuzZ Yes. Every modification to hive_metastore.thrift will result in changes to many gen files. For example, HIVE-28975. I believe this is the normal behavior of the Thrift tool. I am using Thrift version 0.16.0 locally and regenerated the code with the command: |
db0093e to
8203c56
Compare
parser/src/java/org/apache/hadoop/hive/ql/parse/IdentifiersParser.g
Outdated
Show resolved
Hide resolved
ql/src/java/org/apache/hadoop/hive/ql/ddl/catalog/create/CreateCatalogDesc.java
Outdated
Show resolved
Hide resolved
standalone-metastore/metastore-server/src/main/resources/package.jdo
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the PR @zhangbutao! added just a few minor comments, otherwise LGTM
8203c56 to
0fdb746
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
|



What changes were proposed in this pull request?
This PR adds a properties attribute to the catalog, which allows the creation and modification of catalog properties. This PR can serve for the upcoming Federated Catalog, as we will use properties to define the catalog type and pass custom property for each catalog.
Why are the changes needed?
Does this PR introduce any user-facing change?
No
How was this patch tested?
mvn test -Dtest=TestMiniLlapLocalCliDriver -Dqfile='catalog.q' -Dtest.output.overwrite=true -pl itests/qtest -Pitests
And local Hive cluster test.